package com.partners.dao.basic;

import com.partners.dao.bo.ProductClassDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ProductClassDao {
    int deleteByPrimaryKey(Integer id);

    int insert(ProductClassDO record);

    int insertSelective(ProductClassDO record);

    ProductClassDO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ProductClassDO record);

    int updateByPrimaryKey(ProductClassDO record);

    List<Map<String,Object>> getProductClassSelective(@Param("name") String name);

    List<Map<String,Object>> getProductClassChildByPid(Integer id);
}
